//
//  SinClassCell.m
//  GSG
//
//  Created by dllo on 15/4/21.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "SinClassCell.h"

@implementation SinClassCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        self.view = [[UIView alloc] init];
        [self.contentView addSubview:self.view];
        self.view.alpha = 10;
        self.view.backgroundColor = [UIColor colorWithWhite:0 alpha:0.3];
        [_view release];
        
        
        self.pic_urlView = [[UIImageView alloc] init];
        self.pic_urlView.layer.cornerRadius = 20;
        self.pic_urlView.clipsToBounds = YES;
        [self.view addSubview:self.pic_urlView];
        [_pic_urlView release];
        
        self.singerNameLabel = [[UILabel alloc] init];
        [self.view addSubview:self.singerNameLabel];
        [_singerNameLabel release];
        

         self.view.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"bujing.png"]];  
        
        
    }
    return self;
}
- (void)layoutSubviews{
    [super layoutSubviews];
    self.view.frame = CGRectMake(0, 0, self.contentView.frame.size.width, 100);
    self.pic_urlView.frame = CGRectMake(5, 5, 90, 90);
    self.singerNameLabel.frame = CGRectMake(110, 35, 200,40);

}




@end
